<html>
<head><meta charset="utf-8"><title>Making a wrapper for rust-lld at build time · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Making.20a.20wrapper.20for.20rust-lld.20at.20build.20time.html">Making a wrapper for rust-lld at build time</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="241724136"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Making%20a%20wrapper%20for%20rust-lld%20at%20build%20time/near/241724136" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Kevin Tran <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Making.20a.20wrapper.20for.20rust-lld.20at.20build.20time.html#241724136">(Jun 07 2021 at 03:15)</a>:</h4>
<p>In one of my PRs, I need to make a file called ld point to rust-lld because cc calls ld. I thought of using a symlink, but apparently on windows &lt;10, admin permissions are needed to create a symlink. Two alternatives I thought of were hard links and a bash script calling rust-lld. What would be the most appropriate choice here?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>